package com.CST.entity.cb;

import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author ly
 * @since 2022-05-12
 */
@ApiModel(value = "")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ETL_CWS")
public class EtlCws implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "HIS科室编码")
    private String deptCode;

    @ApiModelProperty(value = "HIS科室名称")
    private String deptName;

    @ApiModelProperty(value = "病区号")
    private String nurseCellCode;

    @ApiModelProperty(value = "病区名")
    private String nurseCellName;

    @ApiModelProperty(value = "床位数")
    private BigDecimal bedSum = BigDecimal.ZERO;

    @ApiModelProperty(value = "院区")
    private Integer yard;

    @ApiModelProperty(value = "抽取时间")
    private String etlTime;
    
    // 父级科室
    @TableField(exist = false)
    private String pDeptCode;
    @TableField(exist = false)
    private String pDeptName;


}
